package com.lh.createData.service.Impl;

import com.lh.createData.dao.ProjectMapper;
import com.lh.createData.model.InPutParam.ProjectInParam;
import com.lh.createData.model.ProjectModel;
import com.lh.createData.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-27 16:50
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class ProjectServiceImpl implements ProjectService {
    @Autowired
    ProjectMapper projectMapper;
    /**
     * 增加界面跳转暂时表
     *
     * @param projectInParam com.lh.createData.model.InPutParam.ProjectInParam
     * @return 影响条数
     */
    @Override
    public ProjectModel selectProjectById(ProjectInParam projectInParam) {
        return projectMapper.selectProjectById(projectInParam);
    }

    @Override
    public String selectProjectIdByToken(String token) {
        return projectMapper.selectProjectIdByToken(token);
    }
}
